package com.finance.rule.service;


import com.finance.framework.lang.Page;
import com.finance.framework.lang.PageResultBO;
import com.finance.rule.bean.pojo.SettlementRegion;
import com.finance.rule.bean.pojo.SettlementRegionDetail;

import java.util.List;
import java.util.Map;

public interface ISettlementRegionService {
	SettlementRegion getById(long id);
	SettlementRegionDetail getDetailById(long id);
    List<SettlementRegion> listAll();
	PageResultBO<SettlementRegion> listByPage(Page page);
	PageResultBO<SettlementRegionDetail> listDetailByPage(Page page);
	PageResultBO<Map<String,Object>> listDetailMapByPage(Page page);
	boolean add(SettlementRegion settlementRegion);
	boolean delete(String uId,List<String> ids);
	boolean update(SettlementRegion settlementRegion);
	void updateSettlement(List< Map<String,String>> settlementLevelMap);
	String getIdByName (String name);
	List<String> getIds(String level,String code);

}
